<%@ page import="org.ibiblio.terasaur.bt.Seedbank" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="thin_sidebar" />
        <g:set var="entityName" value="seed bank" />
        <content tag="title"><g:message code="default.${saveAction}.label" args="[entityName]" /></content>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.${saveAction}.label" args="[entityName]" /></h1>
            <g:hasErrors bean="${seedbankInstance}">
            <div class="errors">
                <g:renderErrors bean="${seedbankInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" >
                <div class="dialog">
<tmpl:/seedbank/edit_form />
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="${saveAction}" class="save" value="${message(code: 'default.button.' + saveAction + '.label', default: 'Save')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
